const HKZF_TOKEN = 'hkzf_token'

// 获取token
const getToken = () => localStorage.getItem(HKZF_TOKEN)

// 设置token
const setToken = value => localStorage.setItem(HKZF_TOKEN, value)

// 删除token
const remoToken = () => localStorage.removeItem(HKZF_TOKEN)

// 判断本地有没有token
const isToken = () => getToken()
export { getToken, setToken, remoToken, isToken }